/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.centerrecord.entity;

import com.jeeplus.modules.member.entity.Member;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 服务中心收益记录Entity
 * @author w
 * @version 2021-04-06
 */
public class CenterRecord extends DataEntity<CenterRecord> {
	
	private static final long serialVersionUID = 1L;
	private Member member;		// 收益用户
	private Member fromMem;		// 来源用户
	private Double money;		// 金额
	private String orderNo;		// 订单号
	private String goodsName;		// 商品名
	private String catchType;		// 类型

	private String exportTime;//导出时间
	
	public CenterRecord() {
		super();
	}

	public CenterRecord(String id){
		super(id);
	}

	@ExcelField(title="收益用户", fieldType=Member.class, value="member.loginName", align=2, sort=1)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@ExcelField(title="来源用户", fieldType=Member.class, value="fromMem.loginName", align=2, sort=2)
	public Member getFromMem() {
		return fromMem;
	}

	public void setFromMem(Member fromMem) {
		this.fromMem = fromMem;
	}
	
	@ExcelField(title="金额", align=2, sort=3)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	
	@ExcelField(title="订单号", align=2, sort=4)
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	@ExcelField(title="商品名", align=2, sort=5)
	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	
	@ExcelField(title="类型", dictType="record_type", align=2, sort=6)
	public String getCatchType() {
		return catchType;
	}

	public void setCatchType(String catchType) {
		this.catchType = catchType;
	}

	@ExcelField(title="时间", align=2, sort=5)
	public String getExportTime() {
		return exportTime;
	}

	public void setExportTime(String exportTime) {
		this.exportTime = exportTime;
	}
}